package com.tianji.learning.service;

import com.tianji.common.domain.dto.PageDTO;
import com.tianji.learning.domain.po.Note;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tianji.learning.domain.query.NoteQuery;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yb0os1
 * @since 2025-03-31
 */
public interface INoteService extends IService<Note> {

    void saveNote(Note note);

    void gatherOrCancelNote(Integer id, boolean isGather);

    void updateNote(Integer id, Note note);

    void deleteNote(Integer id);

    PageDTO pageQueryNotes(NoteQuery query);
}
